import wx

_ = wx.GetTranslation


def check_var_name(name):
    if '__' in name:
        raise Exception(_("Don't use '__'!"))
